Perpetual Motion Machine And The Laws Of Thermodynamics